package cn.ds.assets.module.assets.controller.admin.dataQualityRule.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.time.LocalDateTime;
import java.time.LocalDateTime;

import com.alibaba.excel.annotation.ExcelProperty;

/**
 * 数据质量规则 Excel VO
 *
 * @author admin
 */
@Data
public class BaseDataQualityRuleExcelVO {

    @ExcelProperty("规则名称")
    private String ruleName;

    @ExcelProperty("规则描述")
    private String ruleDescribe;

    @ExcelProperty("规则内容")
    private String ruleContent;

    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    @ExcelProperty("规则状态")
    private Integer ruleStatus;

    @ExcelProperty("主键id")
    private Long id;

    @ExcelProperty("项目id")
    private Long projectId;

    @ExcelProperty("目标库")
    private String targetDb;

    @ExcelProperty("目标表")
    private String targetTable;

    @ExcelProperty("目标字段")
    private String targetColumn;

    @ExcelProperty("校验规则")
    private String checkRule;

    @ExcelProperty("规则类型")
    private String ruleType;

    @ExcelProperty("质量维度")
    private String qualityDimension;

    @ExcelProperty("规则类别:0通用,1自定义")
    private Byte ruleGenre;

}
